extern crate ansi_term;

#[macro_export]
macro_rules! info{
	($msg: expr) => {
		println!("{}", ansi_term::Color::Green.paint(format!("[I] {}", $msg))); 
	};
}

#[macro_export]
macro_rules! warn{
	($msg: expr) => { println!("{}", ansi_term::Color::Yellow.paint(format!("[W] {}", $msg))); };
}

#[macro_export]
macro_rules! error{
	($msg: expr) => { 
		println!("{}", ansi_term::Color::Red.paint(format!("[E] {}", $msg)));
		std::process::exit(1);
	};
}
